package com.chat.service;

import java.util.HashMap;

public class ManageClientConnectServerThread {
    private static HashMap<String, ClientConnectServerThread> hm = new HashMap<>();

    public static void addClientConnectServerThread(String username,ClientConnectServerThread clientConnectServerThread){
        hm.put(username,clientConnectServerThread);
    }
    public static ClientConnectServerThread getClientConnectServerThread(String username){
        return hm.get(username);
    }
}
